Add option to automatically set securelevel when in Secure Boot mode
authorMatthew Garrett <mjg59@srcf.ucam.org>
Fri, 9 Aug 2013 22:36:30 +0000 (18:36 -0400)
committerBen Hutchings <ben@decadent.org.uk>
Mon, 12 Jun 2017 15:24:30 +0000 (15:24 +0000)
commit2be36a847049bfb40eeb896403694b1b3e6f724f
tree9ef03a22538ea6d1a5beb692caba6e141377e93a
parent64e259290220021dd8599fddb01077db86353371
Add option to automatically set securelevel when in Secure Boot mode

UEFI Secure Boot provides a mechanism for ensuring that the firmware will
only load signed bootloaders and kernels. Certain use cases may also
require that the kernel prevent userspace from inserting untrusted kernel
code at runtime. Add a configuration option that enforces this automatically
when enabled.

Signed-off-by: Matthew Garrett <mjg59@srcf.ucam.org>
Gbp-Pq: Topic features/all/securelevel
Gbp-Pq: Name add-option-to-automatically-set-securelevel-when-in-.patch
Documentation/x86/zero-page.txt
arch/x86/Kconfig
arch/x86/boot/compressed/eboot.c
arch/x86/include/uapi/asm/bootparam.h
arch/x86/kernel/setup.c